package org.finesys.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.finesys.common.mp.core.mapper.BaseMapper;
import org.finesys.system.api.entity.SysPost;
import org.finesys.system.api.entity.SysUserPost;

import java.util.List;

@Mapper
public interface SysUserPostMapper extends BaseMapper<SysUserPost> {

    /**
     * 获取用户岗位信息
     */
    List<SysPost> findPostsByUserId(@Param("userId") Long userId);
}
